package com.gsy.springboot.start.pojo;

import java.util.Date;
import javax.persistence.*;

@Table(name = "tb_kafka_topic")
public class TbKafkaTopic {
    @Id
    @Column(name = "pk_id")
    private Integer pkId;

    private String topic;

    @Column(name = "subscriber_name")
    private String subscriberName;

    @Column(name = "regex_pattern")
    private String regexPattern;

    @Column(name = "expire_date")
    private Date expireDate;

    /**
     * @return pk_id
     */
    public Integer getPkId() {
        return pkId;
    }

    /**
     * @param pkId
     */
    public void setPkId(Integer pkId) {
        this.pkId = pkId;
    }

    /**
     * @return topic
     */
    public String getTopic() {
        return topic;
    }

    /**
     * @param topic
     */
    public void setTopic(String topic) {
        this.topic = topic;
    }

    /**
     * @return subscriber_name
     */
    public String getSubscriberName() {
        return subscriberName;
    }

    /**
     * @param subscriberName
     */
    public void setSubscriberName(String subscriberName) {
        this.subscriberName = subscriberName;
    }

    /**
     * @return regex_pattern
     */
    public String getRegexPattern() {
        return regexPattern;
    }

    /**
     * @param regexPattern
     */
    public void setRegexPattern(String regexPattern) {
        this.regexPattern = regexPattern;
    }

    /**
     * @return expire_date
     */
    public Date getExpireDate() {
        return expireDate;
    }

    /**
     * @param expireDate
     */
    public void setExpireDate(Date expireDate) {
        this.expireDate = expireDate;
    }
}